#ifndef __SOCKET_H
#define __SOCKET_H
#include "noncopyable.hpp"

namespace moqi
{

class Socket:Noncopyable
{
public:
    Socket();
    explicit Socket(int fd);
    ~Socket();
    int fd();
    void shutdownWrite();
    void setNonblock();

private:
    int _fd;

};
}

#endif

